/**
 * Project Name:Micro-Services-Config-API
 * File Name   :AppConfig.java
 * Package Name:com.micro.services.config
 * Date:2015-9-7上午9:17:06
 * Copyright (c) 2015, http://my.oschina.net/httpssl All Rights Reserved.
 *
 */

package com.micro.services.config;

import java.util.List;

public class AppConfig extends Config
{

	private static final long	serialVersionUID	= 1L;

	private String				appName;
	private String				host;
	private int					port;

	// 应用负责人
	private String				owner;
	// 组织名(BU或部门)
	private String				organization;
	/**
	 * 在App节点触发某些自定义事件后,要通知这些wathcer
	 */
	private List<WatcherConfig>	watchers;

	public String getAppName() {
		return appName;
	}
	public void setAppName(String appName) {
		this.appName = appName;
	}
	public String getHost() {
		return host;
	}
	public void setHost(String host) {
		this.host = host;
	}
	public int getPort() {
		return port;
	}
	public void setPort(int port) {
		this.port = port;
	}
	public String getOwner() {
		return owner;
	}
	public void setOwner(String owner) {
		this.owner = owner;
	}
	public String getOrganization() {
		return organization;
	}
	public void setOrganization(String organization) {
		this.organization = organization;
	}
	public List<WatcherConfig> getWatchers() {
		return watchers;
	}
	public void setWatchers(List<WatcherConfig> watchers) {
		this.watchers = watchers;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	@Override
	protected void checkConfig() {

	}

}